<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
import time

from selenium import webdriver
from selenium.webdriver.common.by import By

d=webdriver.Edge()
d.get("https://www.sogou.com")

text=d.find_
<a onclick="st(this,'40030500','pic')" href="http://pic.sogou.com" uigs-id="nav_pic" id="pic">图片</a>
/html/body/div/div[1]/div[1]/ul/li[4]/a
</body>
</html>